UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The system must display the date and time of the last successful account login upon login.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22299 GEN000452 SV-26310r1_rule ECSC-1 Low
Description
Providing users with feedback on when account accesses last occurred facilitates user recognition and reporting of unauthorized account use.
STIG Date
Solaris 10 X86 Security Technical Implementation Guide 2014-04-04

Details

Check Text ( C-27427r1_chk )
Determine if the system displays the date and time of the last successful login upon logging in. This can be accomplished by logging into the system and verifying whether or not the necessary information is displayed. If the system does not provide this information upon login, this is a finding.

Last login information is provided automatically by the login(1) program for telnet and console login sessions.

Verify the SSH daemon is configured to display last login information.

# grep -i PrintLastLog /etc/ssh/sshd_config
If PrintLastLog is present in the configuration and not disabled, this is not a finding. Otherwise, this is a finding.
Fix Text (F-23464r1_fix)
Configure the system to display the date and time of the last successful login upon logging in.

Enable PrintLastLog in the SSH daemon.

To enable PrintLastLog in the SSH daemon, remove any lines disabling this option from /etc/ssh/sshd_config.